<?php
/**
 * User Login Form View for NiceAuth Plugin
 *
 * NiceAuth : User Authentication and Authorization Plugin for CakePHP
 * Copyright 2011, R.S.Martin (http://rsmartin.me)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @author RSMartin
 * @copyright Copyright (c) 2011, RSMartin (http://rsmartin.me)
 * @license http://www.opensource.org/licenses/mit-license.php MIT
 */
?>

<div class="img">
    <img border="0" src=<?php echo $this->Html->url('/img/logo.png'); ?>>
</div>
<div id="da-login">
    <div id="da-login-box-wrapper">
        <div id="da-login-top-shadow">
        </div>

        <div id="da-login-box">
            <div id="da-login-box-header">
                <h1>Login</h1>
            </div>

            <div id="da-login-box-content">
                <?php echo $this->Session->flash(); ?>
                <?php echo $this->Form->create('User'); ?>
                    <div id="da-login-input-wrapper">
                        <div class="da-login-input">
                            <?php echo $this->Form->input('username', array('label' => '', 'id' => 'da-login-username', 'placeholder' => 'Usuário')); ?>
                        </div>
                        <div class="da-login-input">
                            <?php echo $this->Form->input('password', array('label' => '', 'id' => 'da-login-password', 'placeholder' => 'Senha')); ?>
                        </div>
                    </div>
                <div id="da-login-button">
                    <input type="submit" value="Logar" id="da-login-submit" />
                </div>
                </form>
            </div>
            <div id="da-login-box-footer">
                <div id="da-login-tape"></div>
            </div>
        </div>
        <div id="da-login-bottom-shadow">
        </div>
    </div>
</div>